import { ref } from 'vue'

const menuList = ref([
  {
    name: '新对话',
    path: '/new',
    children: []
  },
  {
    name: '我的对话',
    path: '/chat',
    children: [
      {
        name: '对话1',
        path: '/chat/1'
      },
      {
        name: '对话2',
        path: '/chat/2'
      }
    ]
  },
  {
    name: '对话模板',
    path: '/templateChat',
    children: []
  }
])
export const useMenu = () => {
  return menuList
}
